<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <script type="text/javascript" src="./script/rem.js"></script>
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
    <meta content="yes" name="apple-mobile-web-app-capable">
    <meta content="yes" name="apple-touch-fullscreen">
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <link rel="stylesheet" type="text/css" href="./css/font-awesome.css" />
    <link rel="stylesheet" type="text/css" href="./css/style.css" />
    <link rel="stylesheet" type="text/css" href="./css/aui-slide.css" />
    <script type="text/javascript" src="./script/jquery.min.js"></script>
</head>
<body>

<header class="shop-head" style="padding-top:0.4rem;">
    <div class="shop-head-l"><i class="fa fa-search"></i></div>
    <h3>5件商品 - 共 580 元</h3>
    <div class="shop-head-r" onclick="shop_cart_on()"><i class="fa fa-shopping-cart"></i><span>9</span></div>
</header>

<style>
body, html{height:100%;}
body{background:#fff;}
</style>


<div id="aui-slide" class="shop-banner">
    <div class="aui-slide-wrap">
        <div class="aui-slide-node bg-dark">
            <img src="image/shop-img.jpg">
        </div>
        <div class="aui-slide-node bg-dark">
            <img src="image/shop-img.jpg">
        </div>
        <div class="aui-slide-node bg-dark">
            <img src="image/shop-img.jpg">
        </div>
    </div>
    <div class="aui-slide-page-wrap"><!--分页容器--></div>
</div>




</body>
<script type="text/javascript" src="./script/api.js"></script>
<script type="text/javascript" src="./script/index.js"></script>
<script type="text/javascript" src="./script/aui-slide.js"></script>
<script type="text/javascript">
var slide = new auiSlide({
        container:document.getElementById("aui-slide"),
        // "width":300,
        // "height":260,
        "autoPlay": 3000, //自动播放
        "speed":300,
        "pageShow":true,
        "pageStyle":'dot',
        "loop":true,
        'dotPosition':'center',
        currentPage:currentFun
    })

    function currentFun(index) {
        // console.log(index);
    }

    function index() {
        api.openWin({
            name: 'index',
            url: './index.html',
        });
    }
    function find_index() {
        api.openWin({
            name: 'find_index',
            url: './find_index.html',
        });
    }
    function user_index() {
        api.openWin({
            name: 'user_index',
            url: './user_index.html',
        });
    }
    function goods_details() {
        api.openWin({
            name: 'goods_details',
            url: './goods_details.html',
        });
    }
    function closeWin(){
        api.closeWin({
        });
    }
</script>
</html>
